﻿using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using MonoGame.Framework;


namespace Alex2
{
    /// <summary>
    /// The root page used to display the game.
    /// </summary>
    public sealed partial class GamePage : SwapChainBackgroundPanel
    {
        readonly Game1 _game;

        public GamePage(string launchArguments)
        {
            this.InitializeComponent();
            //var blankoPage = Window.Current.Content as BlankPage1;
            //Window.Current.Content = blankoPage;
            //Window.Current.Activate();
            // Create the game.
           _game = XamlGame<Game1>.Create(launchArguments, Window.Current.CoreWindow, this);
           // if (_game.getNum(1) == 1)
             //   soup.Text = "Hello1";
            //else
              //  soup.Text = "Hello2";
           // _game.setLala(16);
           // soup.Text = _game.getLala().ToString();

        }

        
    }
}
